#ifndef USERVIEW_H
#define USERVIEW_H

#include <QMainWindow>
#include "mainwindow.h"
#include <QPixmap>
#include "database.h"
#include <QMessageBox>
#include <qdebug.h>
#include "qdatetime.h"
#include "trolly.h"
#include "userinfo.h"
#include "client.h"

namespace Ui {
class UserView;
}

class UserView : public QMainWindow
{
    Q_OBJECT

public:
    int m_uid;
    bool m_isVIP;
    Database myDatabase;
    explicit UserView(QWidget *parent = nullptr,int uid = 0,bool isVIP = false);
    ~UserView();

private slots:
    void on_Quit_clicked();

    void on_c18_clicked();

    void on_c1_clicked();

    void on_c2_clicked();

    void on_c3_clicked();

    void on_c4_clicked();

    void on_c5_clicked();

    void on_c6_clicked();

    void on_c7_clicked();

    void on_c8_clicked();

    void on_c9_clicked();

    void on_c10_clicked();

    void on_c11_clicked();

    void on_c12_clicked();

    void on_c13_clicked();

    void on_c14_clicked();

    void on_c15_clicked();

    void on_c16_clicked();

    void on_c17_clicked();

    void on_Select_clicked();

    void on_Add_clicked();

    void on_Mytrolly_clicked();

    void on_Info_clicked();

    void on_Service_clicked();

private:
    Ui::UserView *ui;
};

#endif // USERVIEW_H
